package com.example.chapter4.mapper;

import com.example.chapter4.entity.UserPOJO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("select * from user where username=#{username}")
    UserPOJO findByUsername(String username);
}
